package com.itfreer.cms.entity.module;

import java.io.Serializable;

import com.itfreer.form.dictionary.reflect.DictionaryField;

/**
 * 定义敏感词实体类
 */
public class SensitiveEntity implements Serializable {

	private static final long serialVersionUID = -1881297627908064774L;

	private String id;
	
	/**
	 * 敏感词
	 */
	private String sensitive;
	
	/**
	 * 替代词
	 */
	private String replace;
	
	/**
	 * 状态
	 */
	@DictionaryField(dictionaryName="cms_valid", toFieldName="stateName")
	private String state;
	
	/**
	 * 状态名称
	 */
	private String stateName;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSensitive() {
		return sensitive;
	}

	public void setSensitive(String sensitive) {
		this.sensitive = sensitive;
	}

	public String getReplace() {
		return replace;
	}

	public void setReplace(String replace) {
		this.replace = replace;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}
}
